aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/envshare/app/[compositeKey]/page.tsx
blob: d91f182fefcbc9bc8c8e0dbf6616c0f06aa94fbb (plain) (blame)
1
2
3
4
5
6
7
import { redirect } from "next/navigation";

// This page is here for backwards compatibility with old links.
// Old links were of the form /{compositeKey} and now they are of the form /unseal#{compositeKey}
export default function Page(props: { params: { compositeKey: string } }) {
  return redirect(`/unseal#${props.params.compositeKey}`);
}